package com.itheima.social.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SoDynamicDto {
    private int zan = 0;
    private int gz = 0;
    private String addtime;
    private List<String> pic = new ArrayList<>();
    private List<String> tag = new ArrayList<>();
    private String nickname;

    /**
     * 动态主键
     */
    @TableId(type = IdType.AUTO)
    private Integer did;

    /**
     * 心情描述
     */
    private String descs;

    /**
     * 位置
     */
    private String pos;

    /**
     * 用户ID
     */
    private Integer uid;

    /**
     * 点赞数量
     */
    private Integer zannum;
}
